Fix #162617.
authorFederico Mena Quintero <federico@ximian.com>
Mon, 10 Jan 2005 18:37:09 +0000 (18:37 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Mon, 10 Jan 2005 18:37:09 +0000 (18:37 +0000)
commit8511033169d1ff3b8eb7b9c32c496d9fccb1f364
tree4703f1de8f24fa6ef0cbc558e14bfc5634c35261
parentfe100e480db16806b3c9a9b796578fe8c83d901e
Fix #162617.

2005-01-10  Federico Mena Quintero  <federico@ximian.com>

Fix #162617.

* gtk/gtkfilesystemunix.c (STAT_NEEDED_MASK): Take out
GTK_FILE_INFO_IS_HIDDEN; we don't need to stat() to know this.
(gtk_file_system_unix_get_folder): Make error reporting more
accurate.  Don't bail out if we can't read the directory.
(fill_in_stats): Don't return an error; just assume we don't have
stat info for this folder's files.
(fill_in_names): Don't create the hash table for the names if we
can't open the directory.
(gtk_file_folder_unix_list_children): Don't emit the
"finished-loading" signal --- we don't do asynchronous loads, so
we are always finished loading.
(gtk_file_folder_unix_get_info): Use helper functions; handle the
case where we can't stat '/'.
(get_icon_type_from_path): Don't call fill_in_stats() here; only
use the info we have.
(fill_in_mime_type): Don't return an error.  Don't do anything if
we don't have the stat info.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gtk/gtkfilesystemunix.c